package org.soenea.doitall.application.dispatcher;


import java.io.IOException;
import javax.servlet.ServletException;

import org.soenea.doitall.domain.command.AcceptInviteCommand;

import org.dsrg.soenea.domain.command.CommandException;

public class AcceptInvite extends Dispatcher {
	@Override
	public void execute() throws ServletException, IOException {
		try {
			new AcceptInviteCommand(this.myHelper).execute();
			relativeRedirect("viewgroup");
		} catch (final CommandException e) {
			throw new ServletException(e);
		}
	}
}


